<!DOCTYPE html>
<title>CSS zoom applies to stroke, stroke-dasharray, and stroke-dashoffset</title>
<link rel="author" title="Stefan Zager" href="mailto:szager@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-viewport/">
<link rel="match" href="reference/stroke-ref.html">

<style>
html, body {
  margin: 0;
}
svg {
  display: block;
}
.dash {
  stroke-width: 6px;
  stroke-dasharray: 10px;
  stroke-dashoffset: 7px;
  stroke: hotpink;
  fill: none;
}
.zoom {
  zoom: 2;
}
</style>

<div class="dash">
  <svg width="200" height="50">
    <line x1="25" y1="20" x2="175" y2="20" />
  </svg>
</div>

<div>
  <svg class="zoom" width="200" height="50">
    <line class="dash" x1="25" y1="20" x2="175" y2="20" />
  </svg>
</div>

<div class="dash">
  <svg class="zoom" width="200" height="50">
    <line x1="25" y1="20" x2="175" y2="20" />
  </svg>
</div>
